#ifndef __OPTION_UI_TOOLS_H__
#define __OPTION_UI_TOOLS_H__

#include "IOptionUi.h"

class COptionUiTools : public virtual IOptionUiTools
{
INIT_CLASS_SINGLETON(COptionUiTools)
public:
	const bool Init(const void * pvdPara, char * pszMsgTxt, int iMsgTxtSize);
	IOperateUi & OperateUi();
    IUiMainForm & UiMainForm();
	IUiContractTrade & UiContractTrade();
	IFormHwnd & FormHwnd();
    IUiRiskInfo & UiRiskInfo();
    IUiFastQuote & UiFastQuote();
    IUiEntTrd & UiEntTrd();
private:
	IOperateUi * m_ptrOperateUi;
	IUiContractTrade * m_ptrUiContractTrade;
	IFormHwnd * m_ptrFormHwnd;
    IUiMainForm * m_ptrUiMainForm;
    IUiRiskInfo * m_ptrUiRiskInfo;
    IUiFastQuote * m_ptrUiFastQuote;
    IUiEntTrd * m_ptrUiEntTrd;
};


#endif//__OPTION_UI_TOOLS_H__